package top.lidee.common.service.twice.management.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import top.lidee.common.service.twice.management.MtStoreWechatInputPieceAuditDetailService;
import top.lidee.framework.result.PageUtils;
import top.lidee.module.backendApi.twice.page.Query;
import top.lidee.repository.mapper.twice.management.MtStoreWechatInputPieceAuditDetailMapper;
import top.lidee.repository.model.twice.pojo.management.MtStoreWechatInputPieceAuditDetailEntity;

import java.util.Map;

@Service("mtStoreWechatInputPieceAuditDetailService")
public class MtStoreWechatInputPieceAuditDetailServiceImpl extends ServiceImpl<MtStoreWechatInputPieceAuditDetailMapper, MtStoreWechatInputPieceAuditDetailEntity> implements MtStoreWechatInputPieceAuditDetailService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MtStoreWechatInputPieceAuditDetailEntity> page = this.page(
                new Query<MtStoreWechatInputPieceAuditDetailEntity>().getPage(params),
                new QueryWrapper<MtStoreWechatInputPieceAuditDetailEntity>()
        );

        return new PageUtils(page);
    }

}